Release 10.1A: OpenEdge Development:
Progress 4GL Reference
MTIME function
Returns an integer representing the time in milliseconds. If the MTIME function has no arguments, it returns the current number of milliseconds since midnight (similar to TIME, which returns seconds since midnight).
Syntax
datetime-expressionAn expression that evaluates to a DATETIME or DATETIME-TZ. The MTIME function returns the time portion of
datetime-expressionin milliseconds.If
datetime-expressionis a DATETIME-TZ, the MTIME function returns the local time relative to the time zone of the DATETIME-TZ value. For Example, a DATETIME-TZ field,fdt, is created in London (time zone UTC+00:00) with a value ofMay 5, 2002 at 7:15:03.002 am. MTIME(fdt) returns26,103,002, regardless of the session’s time zone.The MTIME function gets the current system time of the client or server machine that serves as the time source for applications running during the OpenEdge session (specified by the TIME-SOURCE attribute).
See also
DATE function, DATE-FORMAT attribute, DATETIME function, DATETIME-TZ function, DAY function, ETIME function, ISO-DATE function, MONTH function, NOW function, TIME function, TIME-SOURCE attribute, TIMEZONE function, TODAY function, WEEKDAY function, YEAR function, YEAR-OFFSET attribute
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |